package com.ruoyi.project.locationarea.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小车地图对象 location_area
 * 
 * @author ruoyi
 * @date 2025-01-14
 */
public class LocationArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编号 */
    private Long id;

    /** 地图站点 */
    @Excel(name = "地图站点")
    private String location;

    /** 区域 */
    @Excel(name = "区域")
    private String area;

    /** Y轴 */
    @Excel(name = "Y轴")
    private Long distance;

    /** X轴 */
    @Excel(name = "X轴")
    private Long distanceX;

    /** 类型 */
    @Excel(name = "类型")
    private Long lx;

    /** 拐点地图 */
    @Excel(name = "拐点地图")
    private String mapArea;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }
    public void setDistanceX(Long distanceX) 
    {
        this.distanceX = distanceX;
    }

    public Long getDistanceX() 
    {
        return distanceX;
    }
    public void setLx(Long lx) 
    {
        this.lx = lx;
    }

    public Long getLx() 
    {
        return lx;
    }
    public void setMapArea(String mapArea) 
    {
        this.mapArea = mapArea;
    }

    public String getMapArea() 
    {
        return mapArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("location", getLocation())
            .append("area", getArea())
            .append("distance", getDistance())
            .append("distanceX", getDistanceX())
            .append("lx", getLx())
            .append("mapArea", getMapArea())
            .toString();
    }
}
